home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / make / icmake-6.000 / icmake-6 / icmake / exec / abnormal.c next >
Encoding:
C/C++ Source or Header  |  1994-02-08  |  583 b   |  29 lines

  1. /*
  2. \funcref{abnormal}{void abnormal ()}
  3.     {
  4.         {int}{sig}{signal number}
  5.         {int}{subcode}{subcode of signal}
  6.     }
  7.     {}
  8.     {}
  9.     {cleanup()}
  10.     {abnormal.c}
  11.     {
  12.  
  13.         This function issues an error with the string {\em ''Abnormal
  14.         termination.''} as message. The {\em error()} function thereupon raises
  15.         the {\em error\_occurred} flag.
  16.  
  17.         This function is attached to abnormal termination by the {\em signal()}
  18.         function.
  19.  
  20.     }
  21. */
  22.  
  23. #include "icm-exec.h"
  24.  
  25. void abnormal (int sig, int subcode)
  26. {
  27.     error ("Abnormal termination.");
  28. }
  29.